
import request from "@/utils/request.js";
import Cache from "@/utils/cache.js"
export function getInfo(){
  return request.get('user/userInfo');
}
//推广人明细
export function getCommissionList(data){
  return request.get('xing/detailed/commissionList',data);
}
//推广人数 推广金额
export function getDetailedTeamSum(){
  return request.get('xing/detailed/teamSum');
}
//提现手续费
export function getDistributionConfig(data){
  return request.post('distribution_config/getPage',data);
}

//推广人订单
export function getDetailedOrderList(data){
  return request.get('xing/detailed/orderList',data);
}
//推广人统计
export function getOnePersonList(data){
  return request.get('xing/detailed/personList',data);
}
export function getTwoPersonList(data){
  return request.get('xing/detailed/twoPersonList',data);
}
//余额明细
export function getBalanceList(data){
  return request.get('xing/detailed/balanceList',data);
}
//提现明细
export function getWithdrawalList(data){
  return request.get('xing/detailed/withdrawalList',data);
}

// 他的团队数据
export function getPUserPage(data){
  return request.get('xing/log/getPUserPage',data);
}

// 我的推广
export function getMyPromotionPage(data){
  return request.get('xing/agentInformation/getMyPromotionPage',data);
}

// 用户等级
export function getplatformLevel(data){
  return request.get('platform_level/list',data);
}

// 二级团队
export function getMyTeam(data){
  return request.get('xing/agentInformation/getMyTeam/',data);
}

// 关于我们
export function frontHomeArticleId(){
  return request.get('home_article/frontHomeArticleId');
}

// 首页下方案例
export function getHomeTypes(){
  return request.get('home_article_type/getHomeTypes');
}







